/** 导航栏重置样式 **/
.x-nav--form {
    background: transparent;

    margin-bottom: 15px;
}

/** 搜索按钮的默认高度 **/
.x-admin-sm .layui-btn {
    height: 37px;
    line-height: 37px;
}

/** input输入框 默认宽度 **/
.layui-form-item .layui-input-inline {
    width: 300px;
}

/** input输入框 默认高度 **/
.x-admin-sm .layui-input, .x-admin-sm .layui-select, .x-admin-sm .layui-textarea {
    height: 38px;
}

/** select多选框 from 表单默认样式 **/
.xm-form-select {
    width: 300px;
    float: left;
}

/** 表格内的图片 **/
.table__cell-img {
    width: 50px;
}

.table__cell-img > img {
    width: 100%;
}

/** tag标签 **/
.rain-tag {
    padding: 3px 5px;

    color: #1E9FFF;

    border: 1px solid #1E9FFF;
    background: transparent;

    -webkit-user-select: none;
}

/** 上传图片默认样式 **/
.rain-resource .layui-upload-list .upload__img {
    width: 200px;
}

.rain-resource .layui-upload-list .upload__img img {
    width: 100%;
}

/** 上传视频默认样式 **/
.rain-resource .layui-upload-list .upload__video {
    width: 400px;
}

.rain-resource .layui-upload-list .upload__video video {
    width: 100%;
}

.rain-resource > button {
    margin-left: 0 !important;
}

/** 上传文件默认样式 **/
.rain-resource .upload__file {
    color: #999;
}

/** 上传多张图片默认样式 **/
.rain-resource__resource-box .layui-upload-list {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
}

.rain-resource__resource-box .layui-upload-list .upload__item {
    margin: 0 10px 10px 0;

    position: relative;
}

.rain-resource__resource-box .layui-upload-list .upload__item .upload__img, .rain-resource__resource-box .layui-upload-list .upload__item .upload__file {
    width: 200px;
}

.rain-resource__resource-box .layui-upload-list .upload__item .upload__video {
    width: 400px;
}

.rain-resource__resource-box .layui-upload-list .upload__item .upload__img img, .rain-resource__resource-box .layui-upload-list .upload__item .upload__video video {
    width: 100%;
}

.rain-resource__resource-box .layui-upload-list .upload__item .upload__file {
    height: 200px;

    position: relative;

    background: white;
}

.rain-resource__resource-box .layui-upload-list .upload__item .upload__file span {
    max-width: 70%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;

    position: absolute;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);
}

.rain-resource__resource-box .layui-upload-list .upload__item .upload__resource__action_btn {
    display: inline-block;
    width: 20px;

    background: rgba(69, 177, 235, 0.3);
    text-align: center;

    position: absolute;
    top: 0;

    cursor: pointer;
}

.rain-resource__resource-box .layui-upload-list .upload__item .upload__resource__action_btn--left {
    right: 49px;
}

.rain-resource__resource-box .layui-upload-list .upload__item .upload__resource__action_btn--right {
    right: 27px;
}

.rain-resource__resource-box .layui-upload-list .upload__item .upload__resource__action_btn--close {
    right: 5px;
}

.rain-resource__resource-box .layui-upload-list .upload__item .upload__resource__notify {
    width: 100%;

    position: absolute;
    left: 0;
    bottom: 0;

    text-align: center;
    background: green;
}

.rain-resource__resource-box .layui-upload-list .upload__item .upload__resource__notify--fail {
    background: red;
}

.rain-resource__resource-box .layui-upload-list .upload__item .upload__resource__notify--none {
    display: none;
}
